package com.compomics.convertmsrunner;

import com.compomics.convertmsrunner.convertmsprocessbuilder.ConvertMSProcessBuilder;
import java.io.File;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * Hello world!
 *
 */
public class ExampleApp {

    public static void main(String[] args) {
        ConvertMSProcessBuilder builder = new ConvertMSProcessBuilder();
        try {
            File installationFolder = new File("C:\\Program Files (x86)\\ProteoWizard\\ProteoWizard 3.0.4388");
            File input = new File("Bibliotheken\\Documenten\\test.RAW");
            File output = new File("Bibliotheken\\Documenten\\outputTest.mzXML");
            //TODO change this so the installfolder comes from a propertyFile
            builder.runProcess(installationFolder, input, output);
        } catch (IOException ex) {
            ex.printStackTrace();
        }
    }
}
